package com.zyl.pts.config.anno;

import jakarta.validation.Payload;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ProjectName: product_source
 * @Package: com.zyl.pts.config.anno
 * @ClassName: SystemLog
 * @version v1.0
 * @Description TODO(日志记录注解)
 * @Author 翟玉龙
 * @Date 2024/11/21-10:22
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface SystemLog {

    String business() default "基础信息记录";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};

}
